import { createRouter, createWebHistory } from 'vue-router';
import video from '@/views/video.vue';
//import Login from './views/Login.vue';

const routes = [{
        path: '/',
        name: 'Home',
        component: video
    },
    {
        path: "/card",
        component: () =>
            import ("../views/card.vue")
    },
    {
        path: "/game",
        component: () =>
            import ("../views/game.vue")
    },
    {
        path: "/login",
        component: () =>
            import ("../views/login.vue")
    }, {
        path: "/website",
        component: () =>
            import ("../views/website.vue")
    }
];

const router = createRouter({
    history: createWebHistory(),
    routes
});

export default router;